package com.wmx.exception_demo;

/**********************************
 * @author wmx
 * @date 2019/9/20 10:19
 * @description:
 * @version 1.0
 ************************************/
public class ExceptionDemo {
    public static void main(String[] args) {
        for (int i = 0; i <10; i++) {
            if(i  == 5){
                try {
                    int j = i/0;
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
            System.out.println("======="+i);
        }

    }
}
